const storage = {
  // 存储token到本地
  setStorage (key, val) {
    window.localStorage.setItem(key, JSON.stringify(val))
  },
  getStorage (key, val) {
    window.localStorage.getItem(key, val)
  }
}
export default storage
